<?php

namespace App\Helpers\Cloud;

use Exception;

/**
 * 腾讯云助手类
 *
 * Class QiNiuHelper
 *
 * @package App\Helpers\Cloud
 */
class TencentCloudHelper extends BaseCloudHelper
{
	private $accessKey;
	private $secretKey;
	private $bucket;
	private $domain;
	private $uploadUrl;
	private $upToken;
	private $auth;
	private $region; // 区域

	public function __construct()
	{
		parent::__construct();
		$this->init();
	}

	/**
	 * 初始化信息
	 */
	public function init()
	{
		$this->accessKey = config("library.tencent_cloud.secretId");
		$this->secretKey = config("library.tencent_cloud.secretKey");
		$this->bucket    = config("library.tencent_cloud.bucket");
		$this->domain    = config("library.tencent_cloud.domain");
		$this->uploadUrl = config("library.tencent_cloud.upload_url");
		$this->region    = config("library.tencent_cloud.region");
	}

	/**
	 * 获取上传token
	 */
	private function getUpToken()
	{
	}
}